//
//  GYGoodsFavorites.m
//  GoodLuck
//
//  Created by apple on 2018/3/16.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYGoodsFavorites.h"

@implementation GYGoodsFavorites

+ (NSArray *)laodGoodsFavorites:(NSArray *)source {
    NSMutableArray *models = [NSMutableArray array];
    for (NSDictionary *dic in source) {
        GYGoodsFavorites *model = [[GYGoodsFavorites alloc] initWithDic:dic];;
        [models addObject:model];
    }
    
    return models;
}

- (instancetype)initWithDic:(NSDictionary *)dic {
    if ([super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return  self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

@end
